home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-11-11 | 1.2 KB | 47 lines |
- GEOM = ../../../..
- include ${GEOM}/makefiles/Makedefs.global
- include ../Makedefs
- include ${GEOM}/makefiles/Makerules.obj
-
- BINNAME=${TARGETS}
-
- LIBS=${ALLOOGLLIBS} -lforms -lfm_s -lgl_s -lm -lmalloc
-
- OBJS = hinge.o hui.o panel.o lang.o
-
- SED = sed \
- -e 's/\\/\\\\/g' \
- -e 's/"/\\"/g' \
- -e '1s/^\(.*\)$$/"\1/' \
- -e 's/^\(.*\)$$/\1\\n\\/' \
- -e '$$s/^\(.*\)/\1n"/'
-
-
- install: install_module
-
- install_module: ${BINNAME}
- ${INSTALLMODULE} ${BINNAME} ../.geomview-hinge ${MODULEDIR}
-
- ${BINNAME}: ${OBJS}
- /bin/rm -f ../${BINNAME} || :
- ${CC} ${CFLAGS} -o ${BINNAME} ${OBJS} ${LIBS}
- ln ${BINNAME} ..
-
- hingehelp.h: ../hingehelp
- /bin/rm -f ../hingehelp.h
- ( echo '/*' ; \
- echo ' * hingehelp.h: generated automatically from file "hingehelp"' ; \
- echo ' *' ; \
- echo ' * to modify, edit "hingehelp" and type "make hingehelp.h"' ; \
- echo ' */' ; \
- ${SED} < ../hingehelp ) > ../hingehelp.h
-
- hingedata.h: ../hingedata
- /bin/rm -f ../hingedata.h
- ( echo '/*' ; \
- echo ' * hingedata.h: generated automatically from file "hingedata"' ; \
- echo ' *' ; \
- echo ' * to modify, edit hingedata and type "make hingedata.h"' ; \
- echo ' */' ; \
- ${SED} < ../hingedata ) > ../hingedata.h
-